<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html><html lang="en">
	<head>
		<!--加载header文件-->
		<?php
		include_once 'public/views/header.php';
		include_once 'public/home/html/laydate.php';
        include_once 'public/home/html/alert.php';
		?>
		<link rel="stylesheet" href="public/css/list.css" />
		<link rel="stylesheet" href="public/xr/xrDatatable.css" />
		<script src="public/xr/xrDatatable.js"></script>	
        <script src="public/home/js/function.js"></script>
		<script src="public/js/list.js"></script>
		<script src="cust/js/statisticsAttendedList.js"></script>
	</head>
	<body>
		<input type="hidden" id='url' value="<?php echo base_url()?>">
		<div class="page-container container">
			<div class="searchForm">
			    <div class="searchForm-title"><i class="icon-table searchForm-title-icon"></i>数据表格<i class="icon-double-angle-up searchFormTitleIcon"></i></div>
			    <div class="searchForm-main">
					<form id="searchForm">
						<input type="text" name='start_time' id="start_time" placeholder="请选择起始时间"/>
						<input type="text" name='end_time' id="end_time" placeholder="请选择终止时间"/>   
						<select name="type" id="type">							
							<option value="1">按开课单位分类</option>
							<option value="2">按教师分类</option>
						</select>    
						<input type="text" name='teacher_name' id="teacher_name" placeholder="请输入教师姓名" style="display: none" />         	
					</form>
				</div>
			</div>
			<div class="operationRow">
 				<button class="pageItemButton" onclick="Export()"><i class="icon-edit"></i>导出</button>
 				<span  id="tip"style="color: red">显示各个分院被听课信息,人员列表数据为教师,最高/低分显示为教师</span>
			</div>
			        
			<div class="listcontent">
				<div class='xrTableRow'>
					<table id="table" class="xrTable">
						<thead>
							<tr>
								<th name="_xrno"></th>
								<!-- <th name="_oper" style="width: 120px;">操作</th> -->
                                <th name="_course_units" id="course_units"> 学院 </th>
                                <!-- <th name="_attend_num" > 被听人数 </th> -->
                                <!-- <th name="_attend_count" > 被听人次 </th> -->
                                <th name="_unitsupervisor_num" > 分院督导听课人数 </th>
                                <th name="_unitsupervisor_count" > 分院督导听课次数 </th>
                                <th name="_schoolsupervisor_num" > 校督导听课人数 </th>
                                <th name="_schoolsupervisor_count" > 校督导听课次数 </th>
                                <th name="_avg_level" > 教学水平平均分 </th>
                                <th name="_avg_effect" > 教学效果平均分 </th>
                                <th name="_abovenine_level" > 教学水平90分(含)以上 </th>
                                <th name="_aboveeight_level" > 教学水平80以下 </th>
                                <th name="_abovenine_effect" > 教学效果90分(含)以上 </th>
                                <th name="_aboveeight_effect" > 教学效果80以下 </th>
                                <th name="_max_level" > 教学水平最高分 </th>
                                <th name="_min_level" > 教学水平最低分 </th>
                                <th name="_max_effect" > 教学效果最高分 </th>
                                <th name="_min_effect" > 教学效果最低分 </th>
                                
							</tr>
						</thead>
					</table>
				</div>
			</div>
		</div>
	</body>
	<script>
		$("body").keydown(function() {
             if (event.keyCode == "13") {//keyCode=13是回车键
                 $('.searchButton').click();
             }
         });
		$("#title").change(function(){
			$('.searchButton').click();
		});
		$("#class_name").change(function(){
			$('.searchButton').click();
		});
	</script>
</html>